const state = {
  address: [
    {
      id: 1,
      name: '王一腾',
      tel: '175****9862',
      add: '上海市浦东新区州海路森兰美伦A栋1103'
    },
    {
      id: 2,
      name: '王二腾',
      tel: '175****9862',
      add: '上海市浦东新区州海路森兰美伦A栋1103'
    },
    {
      id: 3,
      name: '王三腾',
      tel: '175****9862',
      add: '上海市浦东新区州海路森兰美伦A栋1103'
    },
    {
      id: 4,
      name: '王四腾',
      tel: '175****9862',
      add: '上海市浦东新区州海路森兰美伦A栋1103'
    },
    {
      id: 5,
      name: '王五腾',
      tel: '175****9862',
      add: '上海市浦东新区州海路森兰美伦A栋1103'
    }
  ]
}

const mutations = {
  addAddress(state, payLoad) {
    state.address.push(payLoad)
  }
}

const actions = {}

const getters = {}

export default {
  state,
  mutations,
  actions,
  getters,
  namespaced: true
}
